package action;

import rmi.ComManager;
import bean.LoadUserListMessage;
import bean.Message;

public class ActionLoadUserList implements Action{
	LoadUserListMessage mOut;
	public ActionLoadUserList(Message m){
		mOut = (LoadUserListMessage)m; 
	}
	public Message call(){		
			return execute();	
	}
	public Message execute(){

		ComManager com = new ComManager();
		LoadUserListMessage mIn = (LoadUserListMessage)com.comRmi(mOut);
		/*test multithreading*/
		
		/*
		int i=0;
		while(i <999999999){
		}
		*/
		return mIn;

	}
}
